package com.binya.lib.permission;

import android.Manifest;

/**
 * @author ydh
 * Time 2023年06月05日
 */
public class ByPermissionConfig {

    public static int permissionStorageAndCameraAndPhoneAndAudioCode = 0x101;
    public static String[] permissionStorageAndCameraAndPhoneAndAudio = {
            Manifest.permission.CAMERA,
            Manifest.permission.READ_PHONE_STATE,
            Manifest.permission.RECORD_AUDIO,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_EXTERNAL_STORAGE
    };

    public static int permissionStorageAndCameraCode = 0x101;
    public static String[] permissionStorageAndCamera = {
            Manifest.permission.CAMERA,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_EXTERNAL_STORAGE
    };

    //权限
    public static int permissionStorageCode = 0x001;
    public static String[] permissionStorage = {
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_EXTERNAL_STORAGE
    };

    public static int permissionCameraCode = 0x002;
    public static String[] permissionCamera = {
            Manifest.permission.CAMERA
    };

    public static int permissionPhoneCode = 0x003;
    public static String[] permissionPhone = {
            Manifest.permission.READ_PHONE_STATE
    };

    public static int permissionAudioCode = 0x004;
    public static String[] permissionAudio = {
            Manifest.permission.RECORD_AUDIO
    };

    public static int permissionLocationCode = 0x005;
    public static String[] permissionLocation = {
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.ACCESS_COARSE_LOCATION
    };

}
